.index-page {
  height: 100%;
  display: flex;
  @import "./menu.scss";
  .content-box {
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #eee;
    .top-body {
      flex-shrink: 0;
      .content-head {
        height: 50px;
        display: flex;
        background-color: #f3f3f4;
        > div:nth-child(1) {
          flex-shrink: 0;
          height: 50px;
          line-height: 48px;
          width: 50px;
          text-align: center;
          font-weight: bold;
          border-right: 1px solid rgb(238, 234, 234);
          > i {
            cursor: pointer;
          }
        }
        > div:nth-child(2) {
          flex-grow: 1;
          width: 100%;
          height: 50px;
          line-height: 48px;
          padding-left: 10px;
          .icon-box {
            display: inline-block;
            vertical-align: middle;
            width: 35px;
            height: 35px;
            line-height: 31px;
            text-align: center;
            border-radius: 50%;
            border: 1px solid black;
          }
          .title-style {
            font-size: 20px;
            margin-left: 10px;
          }
        }
        > div:nth-child(3) {
          flex-shrink: 0;
          height: 50px;
          display: flex;
          > div {
            height: 50px;
            width: 50px;
            text-align: center;
            border-left: 1px solid rgb(238, 234, 234);
            color: #666;
            &:hover {
              background-color: white;
              cursor: pointer;
            }
            .my-icon {
              font-size: 22px;
              vertical-align: middle;
            }
            &::after {
              display: inline-block;
              content: "";
              vertical-align: middle;
              height: 100%;
            }
          }
          > div:last-child {
            padding: 0 10px;
            width: auto;
            line-height: 48px;
            display: inline-block;
            > span {
              margin: 0 5px;
            }
            .user-dropdown {
              line-height: initial;
              position: absolute;
              z-index: 100;
              top: 50px;
              right: 0;
              width: 150px;
              margin: 0;
              color: $menu-color;
              background-color: $bg-menu;
              padding: 5px;
              > li {
                list-style: none;
                height: 40px;
                line-height: 40px;
                text-align: left;
                padding: 0 15px;
                overflow: hidden;
                border-radius: 5px;
                &:hover {
                  background-color: $primary-color;
                  color:white;
                }
              }
              &::before {
                content: "";
                position: absolute;
                z-index: 1;
                top: -15px;
                right: 25px;
                width: 0px;
                height: 0px;
                border-width: 8px;
                border-style: solid;
                border-color: transparent transparent $bg-menu transparent; // #25282e;
              }
            }
          }
        }
      }
      // 快捷导航
      .router-box {
        width: 100%;
        height: 43px;
        display: flex;
        flex-direction: row;
        border-bottom: 2px solid $bg-menu;
        border-top: 1px solid #e8e8e8;
        background-color: white;
        > div:nth-child(1) {
          flex-shrink: 0;
          height: 40px;
          padding: 0 10px;
          text-align: center;
          font-size: 20px;
          line-height: 40px;
          border-right: 1px solid #eee;
          &:hover {
            cursor: pointer;
            background-color: #f3f3f4;
          }
        }
        > div:nth-child(2) {
          flex-grow: 1;
          width: 100%;
          overflow: hidden;
          .swiper-slide {
            height: 40px;
            width: auto;
            padding: 0 10px;
            line-height: 40px;
            border-right: 1px solid #eee;
            cursor: pointer;
            color: $gay-color;
            i {
              font-size: 20px;
            }
          }
          .cur {
            background-color: $bg-menu;
            color: $menu-color;
          }
        }
        > div:nth-child(3) {
          flex-shrink: 0;
          display: inline-block;
          > ul {
            padding: 0;
            margin: 0;
            > li {
              float: left;
              text-align: center;
              list-style: none;
              height: 40px;
              padding-left: 10px;
              padding-right: 10px;
              line-height: 40px;
              &:hover {
                background-color: #f3f3f4;
                cursor: pointer;
              }
            }
            &::after {
              content: "";
              display: block;
              clear: both;
            }
          }
        }
      }
    }

    .content-body {
      flex-grow: 1;
      overflow: hidden;
      position: relative;
      height: 100%;
      > .no-scroll {
        background-color: #f2f2f2;
        padding: 15px;  
        > :first-child {
          padding: 15px; 
          background-color: white;
        }
      }
      .v-loading {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 5000;
        width: 100%;
        height: 100%;
      }
    }
  }
}
